﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;

namespace System.Windows.Media.DirectShow.Avi
{
    public class AviList
    {
        private List<AviList> _lists;
        private List<AviChunk> _chunks;

        public string Name { get; set; }

        public List<AviList> Lists
        {
            get
            {
                if (_lists == null)
                    _lists = new List<AviList>();
                return _lists;
            }
        }

        public List<AviChunk> Chunks
        {
            get
            {
                if (_chunks == null)
                    _chunks = new List<AviChunk>();
                return _chunks;
            }
        }

        public override string ToString()
        {
            return this.Name;
        }
    }
}
